package dao

import "time"

// Greeter is a Greeter model.
type Greeter struct {
	Id         int32     `gorm:"column:id;type:int(11);primary_key;AUTO_INCREMENT;comment:id" json:"id"`
	CreateTime time.Time `gorm:"column:create_time;type:datetime;comment:创建时间" json:"create_time"`
	UpdateTime time.Time `gorm:"column:update_time;type:datetime;comment:修改时间" json:"update_time"`

	Hello string
}

func (m *Greeter) TableName() string {
	return "greeter"
}
